import fetch from '@/util/fetch'
// prePic
export function upload_pic_get(options) {
  return fetch({
    url: 'app/file_upload/upload_pic',
    method: 'get',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// prePic
export function upload_pic_head(options) {
  return fetch({
    url: 'app/file_upload/upload_pic',
    method: 'head',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// prePic
export function upload_pic_post(options) {
  return fetch({
    url: 'app/file_upload/upload_pic',
    method: 'post',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// prePic
export function upload_pic_put(options) {
  return fetch({
    url: 'app/file_upload/upload_pic',
    method: 'put',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// prePic
export function upload_pic_delete(options) {
  return fetch({
    url: 'app/file_upload/upload_pic',
    method: 'delete',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// prePic
export function upload_pic_options(options) {
  return fetch({
    url: 'app/file_upload/upload_pic',
    method: 'options',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// prePic
export function upload_pic_patch(options) {
  return fetch({
    url: 'app/file_upload/upload_pic',
    method: 'patch',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// uploadPicForRichtextBox
export function upload_pic_richtextbox_get(options) {
  return fetch({
    url: 'app/file_upload/upload_pic_richtextbox',
    method: 'get',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// uploadPicForRichtextBox
export function upload_pic_richtextbox_head(options) {
  return fetch({
    url: 'app/file_upload/upload_pic_richtextbox',
    method: 'head',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// uploadPicForRichtextBox
export function upload_pic_richtextbox_post(options) {
  return fetch({
    url: 'app/file_upload/upload_pic_richtextbox',
    method: 'post',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// uploadPicForRichtextBox
export function upload_pic_richtextbox_put(options) {
  return fetch({
    url: 'app/file_upload/upload_pic_richtextbox',
    method: 'put',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// uploadPicForRichtextBox
export function upload_pic_richtextbox_delete(options) {
  return fetch({
    url: 'app/file_upload/upload_pic_richtextbox',
    method: 'delete',
    headers: options && options.headers ? options.headers : {},
    data: (options && options.data) || {}
  })
}

// uploadPicForRichtextBox
export function upload_pic_richtextbox_options(options) {
  return fetch({
    url: 'app/file_upload/upload_pic_richtextbox',
    method: 'options',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// uploadPicForRichtextBox
export function upload_pic_richtextbox_patch(options) {
  return fetch({
    url: 'app/file_upload/upload_pic_richtextbox',
    method: 'patch',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}

// 解析二维码图片
export function checkImg_get(options) {
  return fetch({
    url: 'app/file_upload/checkImg',
    method: 'get',
    headers: { 'Content-Type': 'application/json', ...(options && options.headers ? options.headers : {}) },
    data: (options && options.data) || {}
  })
}
